﻿@model CSEPT.Models.UserViewModel
@{
    ViewBag.Title = "Create Account";
}
<h2>Create New Account</h2>
<div class="row">
    <form class ="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4" id="NewUser" action="@Url.Action("Create", "User")" method="post">
        <div class="col-xs-12 form-group">
            <label class="control-label">User Name</label>
            @Html.TextBoxFor(model => model.usr.UserName, new { @placeholder = "User Name", @class = "form-control required" })
        </div>
        <div class="col-xs-12 form-group">
            <label class="control-label">Email</label>
            @Html.TextBoxFor(model => model.usr.Email, new { @placeholder = "Email", @class = "form-control required" })
        </div>
        <div class="col-xs-12 form-group">
            <label class="control-label">Password</label>
            @Html.Password("Password", "", new { @placeholder = "Password", @class = "form-control required" })
        </div>
        <div class="col-xs-12">
            <button class="btn btn-block btn-primary">Submit</button>
        </div>
    </form>
</div>